package com.ctshk.rpc.order.ship.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 船票订单航线表
 * </p>
 *
 * @author 刘蕾
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_ship_order_route")
@ApiModel(value="ShipOrderRoute对象", description="船票订单航线表")
public class ShipOrderRoute extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "航线id")
    private Long routeId;

    @ApiModelProperty(value = "航线名称")
    private String routeName;

    @ApiModelProperty(value = "船种名称")
    private String shipTypeName;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "船票产品Id")
    private Long productId;

    @ApiModelProperty(value = "船票数量")
    private Integer number;

    @ApiModelProperty(value = "航次码")
    private String voyage;

    @ApiModelProperty(value = "船舱等级(1 普通舱，2 高级舱，3 豪华舱)")
    private Long cabinClass;

    @ApiModelProperty(value = "船舱等级(1 普通舱，2 高级舱，3 豪华舱)")
    private String cabinClassName;

    @ApiModelProperty(value = "出发时间")
    private LocalDateTime depTime;

    @ApiModelProperty(value = "船公司类型(1 信德船票，2 珠江船票)")
    private Long companyType;

    @ApiModelProperty(value = "出发城市id")
    private Long depCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String depCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arrCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arrCityName;

    @ApiModelProperty(value = "出发地id")
    private Long depPlaceId;

    @ApiModelProperty(value = "出发地名称")
    private String depPlaceName;

    @ApiModelProperty(value = "到达地id")
    private Long arrPlaceId;

    @ApiModelProperty(value = "到达地名称")
    private String arrPlaceName;

    @ApiModelProperty(value = "订单价格明显,自适应json格式：")
    private String orderDetails;

    @ApiModelProperty("开船时间")
    private String beginTime;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
